<template>
    <div>
        店铺详情页
    </div>
</template>

<script>
    export default {
      data: function () {
        return{
          storeId:''
        }
      },

      beforeRouteEnter(to, from, next) {
        next(vm => {
          vm.storeId = to.params.id;
          vm.getDetailInfo(vm.storeId);
        })
      },

      methods:{
        getDetailInfo: function (id) {
          console.log(id);
        }
      }
    }
</script>

<style scoped lang="scss">
    
</style>
